const config = {
  url: "https://element.eleme.cn/#/zh-CN/component/datetime-picker",
  attrs: {
    placeholder: {
      type: "input",
      label: "占位内容"
    },
    format: {
      type: "input",
      label: "显示在输入框中的格式"
    },
    clearable: {
      type: "switch",
      label: "是否显示清除按钮"
    },
    timeArrowControl: {
      type: "switch",
      label: "是否使用箭头进行时间选择"
    },
    editable: {
      type: "switch",
      label: "文本框可输入"
    },
    size: {
      type: "select",
      label: "输入框尺寸",
      options: [{ text: "默认", value: null }, "medium", "small", "mini"]
    },
    popperClass: {
      type: "input",
      label: "DateTimePicker 下拉框的类名"
    },
    prefixIcon: {
      type: "input",
      label: "自定义头部图标的类名"
    },
    clearIcon: {
      type: "input",
      label: "自定义清空图标的类名"
    },
    readonly: {
      type: "switch",
      label: "完全只读"
    }
  },
  attrsData: {},
  attrsDefaultData: {
    timeArrowControl: false,
    readonly: false,
    editable: true,
    clearable: true,
    size: null,
    prefixIcon: "el-icon-date",
    clearIcon: "el-icon-circle-close"
  },
  common: {
    default: {
      type: "datetime",
      label: "默认值"
    }
  },
  commonData: {},
  commonDefaultData: {}
};

export default config;
